#!/usr/bin/env python
import os.path as path
Import('build')

Env = build.env.Clone()
Env.Append(CPPDEFINES=('KROLL_HOST_EXPORT',1))
Env.Append(LIBS=['kroll'])

Env.ParseConfig('pkg-config --cflags --libs gtk+-2.0 gdk-2.0 glib-2.0 gthread-2.0')
build.add_thirdparty(Env, 'poco')

t = Env.SharedLibrary(build.dir + '/runtime/khost', Glob('*.cpp'))
build.mark_build_target(t)
